package com.zxc.dao;

import com.zxc.model.Apply.ApplyWarehouse;
import com.zxc.model.Equipment.Equipment;
import com.zxc.model.Fertilizer;
import com.zxc.model.Pesticide;
import com.zxc.model.Tools;
import com.zxc.model.seeds;

import java.util.List;

public interface ApplyDao {
    int insertApplyDate(ApplyWarehouse applyWarehouse);


    List<ApplyWarehouse> getSeedApply(ApplyWarehouse applyWarehouse);
    List<ApplyWarehouse> getToolsApply(ApplyWarehouse applyWarehouse);
    List<ApplyWarehouse> getFertilizerApply(ApplyWarehouse applyWarehouse);
    List<ApplyWarehouse> getPesticideApply(ApplyWarehouse applyWarehouse);
    List<ApplyWarehouse> getEquipmentApply(ApplyWarehouse applyWarehouse);

    int updateApplyState(ApplyWarehouse applyWarehouse);
    int  getSeed(seeds seeds);
    int getTool(Tools tools);
    int  getFertilizer(Fertilizer fertilizer);
    int  getPesticide(Pesticide pesticide);
    int  getEquipment(Equipment equipment);
}
